home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…tion Library 4 (Reseller) / Apple Ref. & Pres. Lib.v4.0.iso / 6-Apple⁄DEC Alliance / Solutions & Networking Guide / Macintosh Networking Guide / Macintosh Networking Guide / background_28192.txt < prev    next >
Text File  |  1990-04-17  |  26KB  |  1,078 lines

  1. -- background: 28192 from stack: in
  2. -- bmap block id: 28801
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: MATRIX
  6.  
  7.  
  8. -- part 13 (button)
  9. -- low flags: 00
  10. -- high flags: 0000
  11. -- rect: left=0 top=0 right=334 bottom=512
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: OmnipotentHelp
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   show background Button "Action"
  23. end mouseUp
  24.  
  25. On mouseDown
  26.   Global ClickSND
  27.   play ClickSND
  28. End mouseDown
  29.  
  30.  
  31.  
  32.  
  33. -- part 2 (field)
  34. -- low flags: 01
  35. -- high flags: 0000
  36. -- rect: left=121 top=219 right=285 bottom=395
  37. -- title width / last selected line: 0
  38. -- icon id / first selected line: 0 / 0
  39. -- text alignment: 0
  40. -- font id: 202
  41. -- text size: 64
  42. -- style flags: 8192
  43. -- line height: 72
  44. -- part name: Sentence
  45. ----- HyperTalk script -----
  46. on mouseEnter
  47.   put "Items Chosen Field" & return & "click to enact choice" into fld "Tell"
  48.   changeCurs 6069
  49. end mouseEnter
  50.  
  51. on mouseUp
  52.   show background Button "Action"
  53.   send mouseUp to bkgnd btn "Action"
  54. end mouseUp
  55.  
  56. on mouseLeave
  57.   changeCurs 69
  58.   put empty into fld "Tell"
  59. end mouseLeave
  60.  
  61.  
  62. -- part 4 (field)
  63. -- low flags: 01
  64. -- high flags: 2002
  65. -- rect: left=120 top=50 right=185 bottom=507
  66. -- title width / last selected line: 0
  67. -- icon id / first selected line: 0 / 0
  68. -- text alignment: 0
  69. -- font id: 202
  70. -- text size: 64
  71. -- style flags: 8192
  72. -- line height: 64
  73. -- part name: Environments
  74. ----- HyperTalk script -----
  75. On mouseDown
  76.   Global ClickSND
  77.   play ClickSND
  78. End mouseDown
  79.  
  80. on mouseUp
  81.   global LH, TS,inc,left, top, right, bottom --set on open card
  82.   global hich, hiline,sel, fName
  83.   set lockscreen to true
  84.   get the clickloc
  85.   put item 1 of it into x
  86.   put item 2 of it into y
  87.   --‚Ä¢deselect
  88.   if sel<>empty then
  89.     put sel into character hich of line hiline of field fName
  90.   end if
  91.   --need to determine where 1st char goes depending on font
  92.   --then calculate distance between centers of char
  93.   -- from this determine valid select region
  94.   --‚Ä¢Locate‚Ä¢
  95.   --determines which character in a space free field was clicked on
  96.   --NEED CARRIAGE RETURN
  97.   put selectionAndHiliter() into lnum
  98.   put theChar(x) into chnum
  99.   if chnum is empty or lnum is empty
  100.   then exit mouseUp
  101. else
  102.   put character chnum of line Lnum of field fName into Choice
  103.   if choice=return or chnum=space
  104.   then exit mouseUp
  105. end if
  106. --•select•
  107. put chnum into hich
  108. put lnum into hiLine
  109. put choice into sel
  110. put numtochar(chartonum(sel)+1) into character hich of line hiline of field fName
  111. --‚àÜ Set switch for no solution selected yet
  112. put line 1 of bkgnd fld sentence into sentenceContents
  113. if sentenceContents is empty then put "OK" into solutionsSwitch
  114. --‚Ä¢put into sentance‚Ä¢
  115. put choice into character 1 of field sentence
  116. --‚Ä¢Ready to take you to the room/product card
  117. show background Button "Action"
  118. unlock screen with dissolve
  119. set lockscreen to true
  120. if "solutionsSwitch" is "OK" then send mouseUp to btn "Solutions"
  121. unlock screen with dissolve
  122. end mouseUp
  123.  
  124. on mouseEnter
  125.   put "Click on an Environment" & return & "then choose a solution" into fld "Tell"
  126.   changeCurs 6069
  127. end mouseEnter
  128.  
  129. on mouseLeave
  130.   put empty into fld "Tell"
  131.   changeCurs 69
  132. end mouseLeave
  133.  
  134.  
  135. -- part 5 (field)
  136. -- low flags: 81
  137. -- high flags: 2002
  138. -- rect: left=120 top=50 right=185 bottom=507
  139. -- title width / last selected line: 0
  140. -- icon id / first selected line: 0 / 0
  141. -- text alignment: 0
  142. -- font id: 202
  143. -- text size: 64
  144. -- style flags: 8192
  145. -- line height: 72
  146. -- part name: Solutions
  147. ----- HyperTalk script -----
  148. On mouseDown
  149.   Global ClickSND
  150.   play ClickSND
  151. End mouseDown
  152.  
  153. on mouseUp
  154.   global LH, TS,inc,left, top, right, bottom --set on open card
  155.   global hich,hiline,sel,fName
  156.   set lockscreen to true
  157.   get the clickloc
  158.   put item 1 of it into x
  159.   put item 2 of it into y
  160.   --‚Ä¢deselect
  161.   if sel<>empty then
  162.     put sel into character hich of line hiline of field fName
  163.   end if
  164.   --need to determine where 1st char goes depending on font
  165.   --then calculate distance between centers of char
  166.   -- from this determine valid select region
  167.   --‚Ä¢Locate‚Ä¢
  168.   --determines which character in a space free field was clicked on
  169.   --NEED CARRIAGE RETURN
  170.   put selectionAndHiliter() into lnum
  171.   put theChar(x) into chnum
  172.   if chnum is empty or lnum is empty
  173.   then exit mouseUp
  174. else
  175.   put character chnum of line Lnum of field fName into Choice
  176.   if choice=return or chnum=space
  177.   then exit mouseUp
  178. end if
  179. --•select•
  180. put chnum into hich
  181. put lnum into hiLine
  182. put choice into sel
  183. put numtochar(chartonum(sel)+1) into character hich of line hiline of field fName
  184. --‚Ä¢put into sentance‚Ä¢
  185. if field sentence is empty then
  186.   put " "&choice into character 2 of field sentence
  187. else put choice into character 2 of field sentence
  188. show background Button "Action"
  189. unlock screen with dissolve
  190. end mouseUp
  191.  
  192. on mouseEnter
  193.   put "Click on a Solution" & return & "then click Action button" into fld "Tell"
  194.   changeCurs 6069
  195. end mouseEnter
  196.  
  197. on mouseLeave
  198.   put empty into fld "Tell"
  199.   changeCurs 69
  200. end mouseLeave
  201.  
  202.  
  203. -- part 6 (field)
  204. -- low flags: 81
  205. -- high flags: 2007
  206. -- rect: left=120 top=50 right=186 bottom=508
  207. -- title width / last selected line: 0
  208. -- icon id / first selected line: 0 / 0
  209. -- text alignment: 0
  210. -- font id: 156
  211. -- text size: 14
  212. -- style flags: 256
  213. -- line height: 18
  214. -- part name: Products
  215. ----- HyperTalk script -----
  216. on mouseDown
  217.   Global ButtonSND
  218.   play ButtonSND
  219. end mouseDown
  220.  
  221. on mouseUp
  222.   global LH,inc,left, top, right, bottom --set on open card
  223.   global fName, product
  224.   set cursor to busy
  225.   get the clickloc
  226.   put item 1 of it into x
  227.   put item 2 of it into y
  228.   --‚Ä¢deselect
  229.   --‚Ä¢get the product by getting the line
  230.   put selectionAndHiliter() into lnum
  231.   --‚Ä¢Error checking
  232.   set lockscreen to true
  233.   if lnum is empty then
  234.     exit mouseUp
  235.   else
  236.     select line lnum of field fName
  237.     put line Lnum of field fName into product
  238.   end if
  239.   --‚Ä¢select‚Ä¢
  240.   --‚Ä¢put into sentance‚Ä¢
  241.   put product into field prodholder
  242.   show cd btn "View Product Card"
  243.   hide cd btn "productsHiliter"
  244.   unlock screen with dissolve
  245. end mouseUp
  246.  
  247. on mouseEnter
  248.   changeCurs 6069
  249.   put "Products List" & return & "click on a product name" & return & "(scroll for more names)" into fld "Tell"
  250. end mouseEnter
  251.  
  252. on mouseLeave
  253.   changeCurs 69
  254.   put empty into fld "Tell"
  255. end mouseLeave
  256.  
  257.  
  258. -- part 15 (button)
  259. -- low flags: 00
  260. -- high flags: 2000
  261. -- rect: left=9 top=211 right=256 bottom=106
  262. -- title width / last selected line: 0
  263. -- icon id / first selected line: 0 / 0
  264. -- text alignment: 1
  265. -- font id: 0
  266. -- text size: 12
  267. -- style flags: 0
  268. -- line height: 16
  269. -- part name: ActionHelp
  270. ----- HyperTalk script -----
  271. on mouseEnter
  272.   put "first select environment or solution" into fld "Tell"
  273.   changeCurs 6069
  274. end mouseEnter
  275.  
  276. on mouseUp
  277.   --beep 1 --to get your attention, see below.
  278.   --‚Ä¢This button is a dummy of the real Action button, here for Help
  279.   --‚Ä¢purposes.  Any changes made here, or in the real Action Help script
  280.   --‚Ä¢should be duplicated, JONATHAN
  281. end mouseUp
  282.  
  283. on mouseLeave
  284.   changeCurs 69
  285.   put empty into fld "Tell"
  286. end mouseLeave
  287.  
  288.  
  289. -- part 8 (button)
  290. -- low flags: 00
  291. -- high flags: 2001
  292. -- rect: left=7 top=210 right=253 bottom=107
  293. -- title width / last selected line: 0
  294. -- icon id / first selected line: 6290 / 6290
  295. -- text alignment: 1
  296. -- font id: 0
  297. -- text size: 12
  298. -- style flags: 0
  299. -- line height: 16
  300. -- part name: Action
  301. ----- HyperTalk script -----
  302. on mouseEnter
  303.   changeCurs 6069
  304.   put "Go To Choice Button" & return && "click to go see products" into fld "Tell"
  305. end mouseEnter
  306.  
  307. on mouseLeave
  308.   changeCurs 69
  309.   put empty into fld "Tell"
  310. end mouseLeave
  311.  
  312. on mouseUp
  313.   GLOBAL SEL,HICH,HILINE,FNAME,product,hall,floor,currentfloor
  314.   global env,sol,theRoom,lastRoom,tidyUpNow
  315.   --‚Ä¢deselect selected icon before leaving the card
  316.   if sel<>empty then
  317.     put sel into character hich of line hiline of field fName
  318.   end if
  319.   set hilite of cd button "Environments" to false
  320.   set hilite of cd button "Solutions" to false
  321.   set hilite of cd button "Products" to false
  322.   --‚Ä¢ Determine env and sol to put in room‚Ä¢
  323.   put character 1 of field sentence into env
  324.   put character 2 of field sentence into sol
  325.   if env is empty and sol is empty then exit mouseUp
  326.   put env && sol into testRoom
  327.   if lastRoom <> testRoom then put true into tidyUpNow
  328.   if sol is empty or sol is " " then
  329.     put word 1 of line chartonum(env)-65 of field list into env
  330.     if env is "Mac" then
  331.       put "RoomMac" into theRoom
  332.     end if
  333.     if env is "PC" then
  334.       put "RoomMicro" into theRoom
  335.     else
  336.       put "Room" into theRoom
  337.     end if
  338.     set the highlight of Background button "Network Level" of cd room to false
  339.     set the highlight of Background button "Hardware Level" of cd room to false
  340.     set the highlight of Background button "Application Level" of cd room to True
  341.     put 3 into floor
  342.     put "3  Applications" into currentfloor
  343.     push card
  344.     visual effect dissolve
  345.     set hilite of cd button "Environments" to false
  346.     set hilite of cd button "Solutions" to false
  347.     set hilite of cd button "Products" to false
  348.     go card "Hallway1"
  349.     exit mouseUp
  350.   end if
  351.   if env is empty or env is " " then
  352.     answer "Please choose an environment first." with "OK"
  353.     send mouseUp to card button "environments"
  354.     exit mouseUP
  355.   end if
  356.   if (env<>empty or env<>" ") and (sol<>empty or sol<>" " )
  357.   then
  358.   put word 1 of line chartonum(env)-65 of field list into env
  359.   put word 1 of line chartonum(sol)-97+24 of field list into sol
  360.   if env is "Mac" then
  361.     put "RoomMac" into theRoom
  362.     if sol is "Network¬†Services" then
  363.       put 2 into floor
  364.       put "2  Network Services" into currentfloor
  365.       push card
  366.       set lockscreen to true
  367.       go to card "Network" && theRoom
  368.       unlock screen with dissolve
  369.       exit mouseUP
  370.     end if
  371.     if sol is "HardWare" then
  372.       put 1 into floor
  373.       put "1  Hardware" into currentfloor
  374.       push card
  375.       set lockscreen to true
  376.       go to card "Hardware Room"
  377.       unlock screen with dissolve
  378.       exit mouseUP
  379.     end if
  380.     put 3 into floor
  381.     put "3  Applications" into currentfloor
  382.     push card
  383.     go to card theRoom
  384.     clean
  385.     unlock screen with dissolve
  386.     exit mouseUp
  387.   end if
  388.   if env is "PC" then
  389.     put "RoomMicro" into theRoom
  390.     if sol is "Network¬†Services" then
  391.       put 2 into floor
  392.       put "2  Network Services" into currentfloor
  393.       push card
  394.       set lockscreen to true
  395.       go to card "Network" && theRoom
  396.       unlock screen with dissolve
  397.       exit mouseUP
  398.     end if
  399.     if sol is "HardWare" then
  400.       put 1 into floor
  401.       put "1  Hardware" into currentfloor
  402.       push card
  403.       set lockscreen to true
  404.       go to card "Hardware Room"
  405.       unlock screen with dissolve
  406.       exit mouseUP
  407.     end if
  408.   else
  409.     put "Room" into theRoom
  410.   end if
  411.   if sol is "Network¬†Services" then
  412.     put 2 into floor
  413.     put "2  Network Services" into currentfloor
  414.     push card
  415.     set lockscreen to true
  416.     go to card "Network" && theRoom
  417.     unlock screen with dissolve
  418.     exit mouseUp
  419.   end if
  420.   if sol is "HardWare" then
  421.     put 1 into floor
  422.     put "1  Hardware" into currentfloor
  423.     push card
  424.     set lockscreen to true
  425.     go to card "Hardware Room"
  426.     unlock screen with dissolve
  427.     exit mouseUP
  428.   end if
  429.   put 3 into floor
  430.   put "3  Applications" into currentfloor
  431.   push card
  432.   set lockscreen to true
  433.   go to card theRoom
  434.   unlock screen with dissolve
  435. end if
  436. end mouseUp
  437.  
  438. On mouseDown
  439.   Global ClickSND
  440.   play ClickSND
  441. End mouseDown
  442.  
  443.  
  444.  
  445. -- part 10 (field)
  446. -- low flags: 81
  447. -- high flags: 0000
  448. -- rect: left=120 top=229 right=282 bottom=396
  449. -- title width / last selected line: 0
  450. -- icon id / first selected line: 0 / 0
  451. -- text alignment: 1
  452. -- font id: 156
  453. -- text size: 18
  454. -- style flags: 8192
  455. -- line height: 24
  456. -- part name: prodHolder
  457. ----- HyperTalk script -----
  458. on mouseEnter
  459.   changeCurs 6069
  460.   put "Product Chosen Field" & return & "click to see product card" into fld "Tell"
  461. end mouseEnter
  462.  
  463. on mouseUp
  464.   global product
  465.   show background Button "Action"
  466.   set lockscreen to true
  467.   put char 1 to 26 of product into product
  468.   push card
  469.   go to card product of stack "Products"
  470.   unlock screen with dissolve
  471. end mouseUp
  472.  
  473. on mouseLeave
  474.   changeCurs 69
  475.   put empty into fld "Tell"
  476. end mouseLeave
  477.  
  478.  
  479.  
  480. -- part 11 (field)
  481. -- low flags: 81
  482. -- high flags: 2001
  483. -- rect: left=121 top=51 right=184 bottom=506
  484. -- title width / last selected line: 0
  485. -- icon id / first selected line: 0 / 0
  486. -- text alignment: 0
  487. -- font id: 0
  488. -- text size: 12
  489. -- style flags: 8192
  490. -- line height: 14
  491. -- part name: Explainer
  492. ----- HyperTalk script -----
  493. on mouseEnter
  494.   global Help
  495.   if Help then
  496.     set lockscreen to true
  497.     put "This is the Information Field " &return&return& "Selecting a Tool to the left will place information on those subjects"& " into this field.  " &return& "Select an item on a subject you are interested in, "& "and press the Action button to find out more." into me
  498.     unlock screen with dissolve fast
  499.   else
  500.     put "'Explainer' Field" & return & "displays detailed help" into cd "Tell"
  501.   end if
  502. end mouseEnter
  503.  
  504. on mouseLeave
  505.   global Help
  506.   if help then
  507.   else
  508.     changeCurs 6069
  509.     put empty into fld "Tell"
  510.   end if
  511. end mouseLeave
  512.  
  513. put "Items Chosen Field" & return & "click to enact your choice" into cd fld "Tell"
  514.  
  515.  
  516. -- part 12 (field)
  517. -- low flags: 81
  518. -- high flags: 2002
  519. -- rect: left=120 top=50 right=185 bottom=507
  520. -- title width / last selected line: 0
  521. -- icon id / first selected line: 0 / 0
  522. -- text alignment: 1
  523. -- font id: 3
  524. -- text size: 10
  525. -- style flags: 0
  526. -- line height: 13
  527. -- part name: Explainer
  528. ----- HyperTalk script -----
  529. on mouseEnter
  530.   global Help
  531.   if Help then
  532.     put "Click a Presentation to see its PICTs. " & "To install your own PICTs, place them into the FOLDER with the " & "same name as the Presentation you want them to be in. " & "'Update' the Presentation selected to list all available PICTs." into me
  533.   end if
  534. end mouseEnter
  535.  
  536. on mouseDown
  537.   play "Keyboard 2"
  538.   hide me
  539. end mouseDown
  540.  
  541.  
  542.  
  543. -- part 33 (button)
  544. -- low flags: 00
  545. -- high flags: 0000
  546. -- rect: left=385 top=303 right=342 bottom=428
  547. -- title width / last selected line: 0
  548. -- icon id / first selected line: 0 / 0
  549. -- text alignment: 1
  550. -- font id: 0
  551. -- text size: 12
  552. -- style flags: 0
  553. -- line height: 16
  554. -- part name: mask
  555. ----- HyperTalk script -----
  556. on mouseUp
  557.   --‚Ä¢ HELP
  558.   on mouseEnter
  559.     global Help
  560.     if Help then
  561.       set lockscreen to true
  562.       show field "Explainer"
  563.       put "This is the 'Lobby' button. " & return & return & " Clicking this button will bring you to the Lobby " & "entrance of this stack." into field "Explainer"
  564.       unlock screen with dissolve fast
  565.     else
  566.       put "'Go Lobby' Button" & return & "current location" into fld "Tell"
  567.     end if
  568.   end mouseEnter
  569.  
  570.   On mouseDown
  571.     global ButtonSND
  572.     play ButtonSND
  573.   End mouseDown
  574.  
  575.   on mouseLeave
  576.     global Help
  577.     if Help
  578.     then
  579.   else
  580.     put empty into fld "Tell"
  581.   end if
  582. end mouseLeave
  583.  
  584.  
  585. -- part 34 (button)
  586. -- low flags: 00
  587. -- high flags: 0000
  588. -- rect: left=385 top=303 right=342 bottom=428
  589. -- title width / last selected line: 0
  590. -- icon id / first selected line: 0 / 0
  591. -- text alignment: 1
  592. -- font id: 0
  593. -- text size: 12
  594. -- style flags: 0
  595. -- line height: 16
  596. -- part name: mask
  597. ----- HyperTalk script -----
  598. on mouseUp
  599.   --‚Ä¢ HELP
  600.   on mouseEnter
  601.     global Help
  602.     if Help then
  603.       set lockscreen to true
  604.       show field "Explainer"
  605.       put "This is the 'Lobby' button. " & return & return & " Clicking this button will bring you to the Lobby " & "entrance of this stack." into field "Explainer"
  606.       unlock screen with dissolve fast
  607.     else
  608.       put "'Go Lobby' Button" & return & "current location" into fld "Tell"
  609.     end if
  610.   end mouseEnter
  611.  
  612.   On mouseDown
  613.     global ButtonSND
  614.     play ButtonSND
  615.   End mouseDown
  616.  
  617.   on mouseLeave
  618.     global Help
  619.     if Help
  620.     then
  621.   else
  622.     put empty into fld "Tell"
  623.   end if
  624. end mouseLeave
  625.  
  626.  
  627. -- part 35 (button)
  628. -- low flags: 00
  629. -- high flags: 0000
  630. -- rect: left=385 top=303 right=342 bottom=428
  631. -- title width / last selected line: 0
  632. -- icon id / first selected line: 0 / 0
  633. -- text alignment: 1
  634. -- font id: 0
  635. -- text size: 12
  636. -- style flags: 0
  637. -- line height: 16
  638. -- part name: mask
  639. ----- HyperTalk script -----
  640. on mouseUp
  641.   --‚Ä¢ HELP
  642.   on mouseEnter
  643.     global Help
  644.     if Help then
  645.       set lockscreen to true
  646.       show field "Explainer"
  647.       put "This is the 'Lobby' button. " & return & return & " Clicking this button will bring you to the Lobby " & "entrance of this stack." into field "Explainer"
  648.       unlock screen with dissolve fast
  649.     else
  650.       put "'Go Lobby' Button" & return & "current location" into fld "Tell"
  651.     end if
  652.   end mouseEnter
  653.  
  654.   On mouseDown
  655.     global ButtonSND
  656.     play ButtonSND
  657.   End mouseDown
  658.  
  659.   on mouseLeave
  660.     global Help
  661.     if Help
  662.     then
  663.   else
  664.     put empty into fld "Tell"
  665.   end if
  666. end mouseLeave
  667.  
  668.  
  669. -- part 36 (button)
  670. -- low flags: 00
  671. -- high flags: 0000
  672. -- rect: left=427 top=303 right=342 bottom=470
  673. -- title width / last selected line: 0
  674. -- icon id / first selected line: 0 / 0
  675. -- text alignment: 1
  676. -- font id: 0
  677. -- text size: 12
  678. -- style flags: 0
  679. -- line height: 16
  680. -- part name: mask
  681. ----- HyperTalk script -----
  682. on mouseUp
  683.   --‚Ä¢ HELP
  684.   on mouseEnter
  685.     global Help
  686.     if Help then
  687.       set lockscreen to true
  688.       show field "Explainer"
  689.       put "This is the 'Lobby' button. " & return & return & " Clicking this button will bring you to the Lobby " & "entrance of this stack." into field "Explainer"
  690.       unlock screen with dissolve fast
  691.     else
  692.       put "'Go Lobby' Button" & return & "current location" into fld "Tell"
  693.     end if
  694.   end mouseEnter
  695.  
  696.   On mouseDown
  697.     global ButtonSND
  698.     play ButtonSND
  699.   End mouseDown
  700.  
  701.   on mouseLeave
  702.     global Help
  703.     if Help
  704.     then
  705.   else
  706.     put empty into fld "Tell"
  707.   end if
  708. end mouseLeave
  709.  
  710.  
  711. -- part 38 (button)
  712. -- low flags: 00
  713. -- high flags: 2002
  714. -- rect: left=427 top=303 right=342 bottom=470
  715. -- title width / last selected line: 0
  716. -- icon id / first selected line: 30492 / 30492
  717. -- text alignment: 1
  718. -- font id: 0
  719. -- text size: 12
  720. -- style flags: 0
  721. -- line height: 16
  722. -- part name: Kiosk
  723. ----- HyperTalk script -----
  724. on mouseUp
  725.   global Help
  726.   if Help is True then exit mouseUp
  727.   push card
  728.   visual effect dissolve
  729.   go to cd "Matrix"
  730. end mouseUp
  731.  
  732. --‚Ä¢ HELP
  733. on mouseEnter
  734.   global Help
  735.   if Help then
  736.     set lockscreen to true
  737.     show field "Explainer"
  738.     put "This is the 'Matrix' button. " & return & return & "This button takes you instantly to the Matrix of Solutions " & "and Environments." & return & "This is the fastest way to get started." into field "Explainer"
  739.     unlock screen with dissolve fast
  740.   else
  741.     ChangeCurs 13000
  742.     put "'Matrix' Button" & return & "click to go to the Matrix" into fld "Tell"
  743.   end if
  744. end mouseEnter
  745.  
  746. On mouseDown
  747.   global ButtonSND
  748.   play ButtonSND
  749. End mouseDown
  750.  
  751. on mouseLeave
  752.   global Help
  753.   if Help
  754.   then
  755. else
  756.   put empty into fld "Tell"
  757. end if
  758. end mouseLeave
  759.  
  760.  
  761.  
  762. -- part 40 (field)
  763. -- low flags: 01
  764. -- high flags: 0002
  765. -- rect: left=172 top=307 right=339 bottom=340
  766. -- title width / last selected line: 0
  767. -- icon id / first selected line: 0 / 0
  768. -- text alignment: 1
  769. -- font id: 242
  770. -- text size: 12
  771. -- style flags: 0
  772. -- line height: 16
  773. -- part name: Tell
  774. ----- HyperTalk script -----
  775. --‚Ä¢ HELP
  776. on mouseEnter
  777.   global Help
  778.   if Help then
  779.     set lockscreen to true
  780.     show field "Explainer"
  781.     put "This is the 'Message' field. " & return & return & "As the mouse enters the active area of each " & "button on this card, " & "this field will briefly explain what the button does. " into field "Explainer"
  782.     unlock screen with dissolve fast
  783.   else
  784.     put "Message Field" & return & "displays stack information" into fld "Tell"
  785.   end if
  786. end mouseEnter
  787.  
  788. on mouseLeave
  789.   global Help
  790.   if Help
  791.   then
  792. else
  793.   put empty into fld "Tell"
  794. end if
  795. end mouseLeave
  796.  
  797.  
  798. -- part 7 (field)
  799. -- low flags: 81
  800. -- high flags: 4007
  801. -- rect: left=115 top=32 right=296 bottom=301
  802. -- title width / last selected line: 0
  803. -- icon id / first selected line: 0 / 0
  804. -- text alignment: 0
  805. -- font id: 3
  806. -- text size: 12
  807. -- style flags: 0
  808. -- line height: 16
  809. -- part name: list
  810.  
  811.  
  812. -- part 42 (button)
  813. -- low flags: 00
  814. -- high flags: 2002
  815. -- rect: left=42 top=303 right=342 bottom=85
  816. -- title width / last selected line: 0
  817. -- icon id / first selected line: 21375 / 21375
  818. -- text alignment: 1
  819. -- font id: 0
  820. -- text size: 12
  821. -- style flags: 0
  822. -- line height: 16
  823. -- part name: Outline mode
  824. ----- HyperTalk script -----
  825. on mouseEnter
  826.   changeCurs 6069
  827.   put "Briefing Button" & return & "click to go to briefing room" into fld "Tell"
  828. end mouseEnter
  829.  
  830. on mouseUp
  831.   set lockscreen to true
  832.   set cursor to busy
  833.   push card
  834.   go to cd "Briefing Room"
  835.   unlock screen with dissolve
  836.   pass mouseUp
  837. end mouseUp
  838.  
  839. On mouseDown
  840.   global ButtonSND
  841.   play ButtonSND
  842. End mouseDown
  843.  
  844. on mouseLeave
  845.   put empty into fld "Tell"
  846.   changeCurs 69
  847. end mouseLeave
  848.  
  849.  
  850. -- part 43 (button)
  851. -- low flags: 00
  852. -- high flags: 2002
  853. -- rect: left=0 top=303 right=342 bottom=43
  854. -- title width / last selected line: 0
  855. -- icon id / first selected line: 10112 / 10112
  856. -- text alignment: 1
  857. -- font id: 0
  858. -- text size: 12
  859. -- style flags: 0
  860. -- line height: 16
  861. -- part name: EXIT
  862. ----- HyperTalk script -----
  863. on mouseEnter
  864.   changeCurs 6069
  865.   put "Exit Button" & return & "click to quit or go home" into fld "Tell"
  866. end mouseEnter
  867.  
  868. on mouseUp
  869.   set lockscreen to true
  870.   answer "Would you like to Quit, go Home, or Cancel" with "Quit" or "Home" or "Cancel"
  871.   unlock screen with dissolve
  872.   set lockscreen to true
  873.   if it is "Quit" then doMenu "Quit HyperCard"
  874.   if it is "Home" then
  875.     put empty into field "Explainer"
  876.     domenu Home
  877.   end if
  878.   unlock screen with dissolve
  879. end mouseUp
  880.  
  881. On mouseDown
  882.   global ButtonSND
  883.   play ButtonSND
  884. End mouseDown
  885.  
  886. on mouseLeave
  887.   put empty into fld "Tell"
  888.   changeCurs 69
  889. end mouseLeave
  890.  
  891.  
  892. -- part 44 (button)
  893. -- low flags: 00
  894. -- high flags: 2002
  895. -- rect: left=84 top=303 right=342 bottom=127
  896. -- title width / last selected line: 0
  897. -- icon id / first selected line: 20358 / 20358
  898. -- text alignment: 1
  899. -- font id: 0
  900. -- text size: 12
  901. -- style flags: 0
  902. -- line height: 16
  903. -- part name: Glossary
  904. ----- HyperTalk script -----
  905. on mouseUp
  906.   set cursor to busy
  907.   get short name of this card
  908.   if it is "Outliner" then clearF
  909.   push card
  910.   visual effect iris open
  911.   go cd "glossary"
  912. end mouseUp
  913.  
  914. on mouseEnter
  915.   put "Glossary Button" & return & "click to go to the Glossary" into fld "Tell"
  916.   changeCurs 6069
  917. end mouseEnter
  918.  
  919. On mouseDown
  920.   global ButtonSND
  921.   play ButtonSND
  922. End mouseDown
  923.  
  924. on mouseleave
  925.   put empty into fld "Tell"
  926.   changeCurs 69
  927. end mouseLeave
  928.  
  929.  
  930.  
  931. -- part 45 (button)
  932. -- low flags: 00
  933. -- high flags: 2002
  934. -- rect: left=126 top=303 right=342 bottom=169
  935. -- title width / last selected line: 0
  936. -- icon id / first selected line: 1007 / 1007
  937. -- text alignment: 1
  938. -- font id: 0
  939. -- text size: 12
  940. -- style flags: 0
  941. -- line height: 16
  942. -- part name: Printer
  943. ----- HyperTalk script -----
  944. on mouseUp
  945.   set cursor to busy
  946.   print card
  947. end mouseUp
  948.  
  949. on mouseEnter
  950.   changeCurs 6069
  951.   put "Printer Button" & return & "click to print this image" into fld "Tell"
  952. end mouseEnter
  953.  
  954. On mouseDown
  955.   global ButtonSND
  956.   play ButtonSND
  957. End mouseDown
  958.  
  959. on mouseLeave
  960.   put empty into fld "Tell"
  961.   changeCurs 69
  962. end mouseLeave
  963.  
  964.  
  965. -- part 46 (button)
  966. -- low flags: 00
  967. -- high flags: 2002
  968. -- rect: left=343 top=303 right=342 bottom=386
  969. -- title width / last selected line: 0
  970. -- icon id / first selected line: 1409 / 1409
  971. -- text alignment: 1
  972. -- font id: 0
  973. -- text size: 12
  974. -- style flags: 0
  975. -- line height: 16
  976. -- part name: Outliner
  977. ----- HyperTalk script -----
  978. on mouseUp
  979.   global Mack,Host
  980.   push card
  981.   set cursor to busy
  982.   set the lockscreen to true
  983.   put true into Mack
  984.   put false into Host
  985.   go to cd "Outliner"
  986.   send mouseUp to cd btn "macSwitch"
  987.   unlock screen with dissolve
  988. end mouseUp
  989.  
  990. on mouseEnter
  991.   changeCurs 6069
  992.   put "Outliner Button" & return & "use outline navigation" into fld "Tell"
  993. end mouseEnter
  994.  
  995. On mouseDown
  996.   global ButtonSND
  997.   play ButtonSND
  998. End mouseDown
  999.  
  1000. on mouseLeave
  1001.   put empty into fld "Tell"
  1002.   changeCurs 69
  1003. end mouseLeave
  1004.  
  1005.  
  1006.  
  1007. -- part 47 (button)
  1008. -- low flags: 00
  1009. -- high flags: 2002
  1010. -- rect: left=385 top=303 right=342 bottom=428
  1011. -- title width / last selected line: 0
  1012. -- icon id / first selected line: 18849 / 18849
  1013. -- text alignment: 1
  1014. -- font id: 0
  1015. -- text size: 12
  1016. -- style flags: 0
  1017. -- line height: 16
  1018. -- part name: Lobby
  1019. ----- HyperTalk script -----
  1020. on mouseUp
  1021.   set lockscreen to true
  1022.   set cursor to busy
  1023.   push card
  1024.   unlock screen with dissolve
  1025.   go to cd "Lobby"
  1026. end mouseUp
  1027.  
  1028. on mouseEnter
  1029.   changeCurs 6069
  1030.   put "Lobby Button" & return & "use building navigation" into fld "Tell"
  1031. end mouseEnter
  1032.  
  1033. On mouseDown
  1034.   global ButtonSND
  1035.   play ButtonSND
  1036. End mouseDown
  1037.  
  1038. on mouseLeave
  1039.   put empty into fld "Tell"
  1040.   changeCurs 69
  1041. end mouseLeave
  1042.  
  1043.  
  1044. -- part 48 (button)
  1045. -- low flags: 00
  1046. -- high flags: 2002
  1047. -- rect: left=469 top=303 right=342 bottom=512
  1048. -- title width / last selected line: 0
  1049. -- icon id / first selected line: 9301 / 9301
  1050. -- text alignment: 1
  1051. -- font id: 0
  1052. -- text size: 12
  1053. -- style flags: 0
  1054. -- line height: 16
  1055. -- part name: GoBack
  1056. ----- HyperTalk script -----
  1057. on mouseUp
  1058.   set lockscreen to true
  1059.   set cursor to busy
  1060.   go Back
  1061.   unlock screen with visual effect wipe right
  1062. end mouseUp
  1063.  
  1064. on mouseEnter
  1065.   changeCurs 6069
  1066.   put "Go Back Button" & return & "click to go to prev card" into fld "Tell"
  1067. end mouseEnter
  1068.  
  1069. On mouseDown
  1070.   global ButtonSND
  1071.   play ButtonSND
  1072. End mouseDown
  1073.  
  1074. on mouseLeave
  1075.   changeCurs 69
  1076.   put empty into fld "Tell"
  1077. end mouseLeave
  1078.